package com.wwj.my_ummary.user.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.wwj.my_ummary.user.entity.User;

import java.util.List;
import java.util.Set;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author wwj
 * @since 2020-12-25
 */
public interface UserService extends IService<User> {

    List<User> selectList();

    int insert(User user);

    User findByUsername(String username);

    Set<String> findPermissions(String username);
}